<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta name="layout" content="main">
    <title>Login</title>
  </head>
  <body>
    <g:if test="${flash.message}">
      <ul class="errors" role="alert">
        <li>${flash.message}</li>
      </ul>
    </g:if>
    <div style="width: 100%;" align="center">
      <g:form name="login_form" action="validar">
        <table>
          <tr>
            <td width="30%">Nombre Usuario:</td>
            <td width="70%">
              <g:textField name="usuario" value="" />
            </td>
          </tr>
          <tr>
            <td width="30%">Password:</td>
            <td width="70%">
              <g:passwordField name="password" value="" />
            </td>
          </tr>
          <tr>
            <td width="30%">&nbsp;</td>
            <td width="70%">
              <g:submitButton name="ingresar" value="Ingresar" />
            </td>
          </tr>
        </table>
      </g:form>
    </div>
  </body>
</html>
